package com.szqhyxj.youxiangju.sys.util;

import android.content.Context;
import android.widget.Toast;

/**
 * XiaoPanYu
 * on 2018/11/1
 */
public class ToastUtils{
    private ToastUtils() {
    }

    public static void showTost(Context mContext, String tost) {
        Toast.makeText(mContext, tost, 0).show();
    }

    public static void showTostLong(Context mContext, String tost) {
        Toast.makeText(mContext, tost, 1).show();
    }

    public static void showTost(Context mContext, int tost) {
        Toast.makeText(mContext, mContext.getString(tost), 0).show();
    }

    public static void showTostLong(Context mContext, int tost) {
        Toast.makeText(mContext, mContext.getString(tost), 1).show();
    }
}
